﻿using UnityEngine;
using System.Collections;
using System.Collections.Generic;

public class MapPolygon : MapObject {
    /// <summary>
    /// 点数据
    /// </summary>
    private List<MapLocation> datas;

    /// <summary>
    /// 中心点
    /// </summary>
    private MapLocation centerPoint;

    /// <summary>
    /// 边框颜色
    /// </summary>
    private long borderColor;

    /// <summary>
    /// 填充颜色
    /// </summary>
    private long fillColor;

    /// <summary>
    /// 点击后的颜色
    /// </summary>
    private long clickColor;

    public MapPolygon()
    {
        datas = new List<MapLocation>(20);
    }

    public List<MapLocation> Datas
    {
        get
        {
            return datas;
        }

        set
        {
            datas = value;
        }
    }

    public long BorderColor
    {
        get
        {
            return borderColor;
        }

        set
        {
            borderColor = value;
        }
    }

    public long FillColor
    {
        get
        {
            return fillColor;
        }

        set
        {
            fillColor = value;
        }
    }

    public long ClickColor
    {
        get
        {
            return clickColor;
        }

        set
        {
            clickColor = value;
        }
    }

    public MapLocation CenterPoint
    {
        get
        {
            return centerPoint;
        }

        set
        {
            centerPoint = value;
        }
    }
}
